﻿<%@ Page Language="C#" MasterPageFile="~/bbsmanage/bbsm.master" AutoEventWireup="true" CodeBehind="cata.aspx.cs" Inherits="chatblog.bbsmanage.cata" Title="设置版块" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
<style type="text/css">
        #ajaxtree
        {
            width: 100%;
            height: 100%;
            overflow: scroll;
            float: left;
        }
    .style3
    {
        width: 69px;
        text-align: right;
    }
    .style4
    {
        color: #FF0000;
    }
    </style>

    <script type="text/javascript">
        function treeViewSelectChanged(textboxId,id)
        {
           var parentDocument=  window .opener .document ;
           var textbox=  parentDocument .getElementById (textboxId );
            textbox.value =id;
            window .opener =null;
            window.close ();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div>
<table style="width:100%"><tr>
    <td style="width:320px; vertical-align:top; color: #FF0000; font-size: medium;">
        <b>根目录下面最少要有两层目录<br />
        (第一层是大类)</b><!--左边树--><div id="ajaxtree">
            <asp:TreeView ID="TreeView1" runat="server" ShowLines="true" ShowExpandCollapse="true"
                OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
            </asp:TreeView>
        </div>
        
        </td><td style=" vertical-align:top;">

        <table style="width:100%" class="oa">
            <tr>
                <td class="style3">
                    当前版块:</td>
                <td>
                    <asp:Label ID="Label_id" runat="server" Text="id"></asp:Label>
&nbsp;<asp:Label ID="Label_name" runat="server" Text="name"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    名称:</td>
                <td>
                    <asp:TextBox ID="TextBox_name" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    描述:</td>
                <td>
                    <asp:TextBox ID="TextBox_desc" Width="100%" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    排序</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    整数,数字小的排在前面</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;</td>
                <td>
                
                    <asp:Button ID="Button1" runat="server" Text="增加子版块" onclick="Button1_Click" />
                    <asp:Button ID="Button2" runat="server" Text="修改选中板块" onclick="Button2_Click" />
                    <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="删除" />
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <span class="style4">预览效果</span>:</td>
                <td>
                
                <asp:HyperLink ID="HyperLink_link2" Target="_blank" runat="server">你的论坛链接</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td class="style3" >
                    &nbsp;</td>
                <td>
                
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3" valign="top">
                    参考例子:</td>
                <td>
                
                    <img src="../img/catalizi.gif" style="width: 252px; height: 255px" /></td>
            </tr>
        </table>
        
        
        </td></tr></table>
    </div>


</asp:Content>
